package com.test.cordova.mvp.contract;

import android.widget.TextView;

import com.test.cordova.mvp.base.IModel;
import com.test.cordova.mvp.base.IView;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2019/2/22 0022.
 */

public interface MainContract {

    interface MainModel extends IModel {

        Observable<String> getDataFromNet();


    }

    /**
     * 获取控件
     */
    interface MainView extends IView {

        void setTestTip(String data);



    }

    interface MainPresenter {
        void getData();
    }

}
